import { Location } from "../../info/Predefine";

export default interface Launchable {

    locations: Location[];

    /**
     * 数量
     */
    count: number;

    /**
     * 射程
     */
    shotRange: number;

    /**
     * 是否正在发射
     */
    dispatching: boolean;

    /**
     * 发射队列
     */
    dispatchQueue: { flyer: cc.Node, target: Location, dispatchFunc?: (target: Location) => void }[];

    /**
     * 发射
     * @param target 
     */
    dispatch(target: Location): void;
}
